package com.kerrykidz.system.dao.model;

import java.util.Date;
import java.util.List;

import com.rdp.framework.core.model.MyBatisSuperModel;

public class WfmAuthorizeEntity extends MyBatisSuperModel{
	//临时授权编号
	private String pkAuthId;
	
	//分店编号
	private String fkBranId;
	
	//委托角色编号
	private String fkRoleId;
	
	//委托人用户编号 
	private String fromUsr;
	
	//被委托用户 
	private String toUsr;
	
	//委托日期开始 
	private Date fromDate;
	
	//委托日期结束 
	private Date toDate;
	
	//ACTIVITI流程定义编号 
	private String procDefId;
	
	private String isAllProc;//是否全部流程
	
	//删除标记
	private String delFlage;
	
	//修改人 
	private String modiBy;
	
	//修改时间 
	private Date modiTime;

	private Date fromStartDate;
	
	private Date fromEndDate;
	
	private Date toStartDate;
	
	private Date toEndDate;
	
	//委托人
	private String fromName;
	
	//被委托人
	private String toName;
	
	//委托角色
	private String roleName;
	
	//委托流程名
	private String name;
		
	private List<String> roleIdList;
	
	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
	
	public List<String> getRoleIdList() {
		return roleIdList;
	}

	public void setRoleIdList(List<String> roleIdList) {
		this.roleIdList = roleIdList;
	}

	public String getName() {
		if("-1".equals(this.procDefId))
		{
			return "全部";
		}
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getFromName() {
		return fromName;
	}

	public void setFromName(String fromName) {
		this.fromName = fromName;
	}

	public String getToName() {
		return toName;
	}

	public void setToName(String toName) {
		this.toName = toName;
	}

	public Date getFromStartDate() {
		return fromStartDate;
	}

	public void setFromStartDate(Date fromStartDate) {
		this.fromStartDate = fromStartDate;
	}

	public Date getFromEndDate() {
		return fromEndDate;
	}

	public void setFromEndDate(Date fromEndDate) {
		this.fromEndDate = fromEndDate;
	}

	public Date getToStartDate() {
		return toStartDate;
	}

	public void setToStartDate(Date toStartDate) {
		this.toStartDate = toStartDate;
	}

	public Date getToEndDate() {
		return toEndDate;
	}

	public void setToEndDate(Date toEndDate) {
		this.toEndDate = toEndDate;
	}

	public String getPkAuthId() {
		return pkAuthId;
	}

	public void setPkAuthId(String pkAuthId) {
		this.pkAuthId = pkAuthId;
	}

	public String getFkBranId() {
		return fkBranId;
	}

	public void setFkBranId(String fkBranId) {
		this.fkBranId = fkBranId;
	}

	public String getFkRoleId() {
		return fkRoleId;
	}

	public void setFkRoleId(String fkRoleId) {
		this.fkRoleId = fkRoleId;
	}

	public String getToUsr() {
		return toUsr;
	}

	public void setToUsr(String toUsr) {
		this.toUsr = toUsr;
	}


	public String getProcDefId() {
		return procDefId;
	}

	public void setProcDefId(String procDefId) {
		this.procDefId = procDefId;
	}

	public String getDelFlage() {
		return delFlage;
	}

	public void setDelFlage(String delFlage) {
		this.delFlage = delFlage;
	}

	public String getModiBy() {
		return modiBy;
	}

	public void setModiBy(String modiBy) {
		this.modiBy = modiBy;
	}

	public Date getModiTime() {
		return modiTime;
	}

	public void setModiTime(Date modiTime) {
		this.modiTime = modiTime;
	}
	
	public Date getFromDate() {
		return fromDate;
	}

	public void setFromDate(Date fromDate) {
		this.fromDate = fromDate;
	}

	public Date getToDate() {
		return toDate;
	}

	public void setToDate(Date toDate) {
		this.toDate = toDate;
	}
	
	public String getFromUsr() {
		return fromUsr;
	}

	public void setFromUsr(String fromUsr) {
		this.fromUsr = fromUsr;
	}

	public String getIsAllProc() {
		return isAllProc;
	}

	public void setIsAllProc(String isAllProc) {
		this.isAllProc = isAllProc;
	}
	
}
